package com.lms.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lms.entity.Dormbuildbaseinfo;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

/**
 * @author L-B-S
 * @create 2021/3/7 21:15
 * @desc 宿舍楼宇后勤基础信息数据访问层接口
 **/
@Repository
public interface DormbuildbaseinfoMapper extends BaseMapper<Dormbuildbaseinfo> {

    /**
     * 通过宿舍楼宇号查询实体对象
     *
     * @param dormBuild 宿舍楼宇号
     * @return 宿舍基础信息实体类
     */
    Dormbuildbaseinfo selectByDormBuild(String dormBuild);
}
